<!--opening tag 在引用本文件的文件里-->

    {notin name="$_COOKIE['user']" value="$r.like"}
    {notin name="$_COOKIE['user']" value="$r.dislike"}
    <!--点赞img-->
    <img class="like_selection" alt="like_before" src="__IMG__/like_before.png"
         onclick="likeSelection(this, '{$r.id}')"  >
    <br/>
    <!--点踩img-->
    <img class="dislike_selection" alt="dislike_before" src="__IMG__/dislike_before.png"
         onclick="dislikeSelection(this, '{$r.id}')" >
    {/notin}
    {/notin}



    {in name="$_COOKIE['user']" value="$r.like"}
    <!--点赞img-->
    <img class="like_selection" alt="like_after" src="__IMG__/like_after.png"
         onclick="likeSelection(this, '{$r.id}')"  >

    <br/>
    <!--点踩img-->
    <img class="dislike_selection" alt="dislike_before" src="__IMG__/dislike_before.png"
         onclick="dislikeSelection(this, '{$r.id}')" >
    {/in}


    {in name="$_COOKIE['user']" value="$r.dislike"}
    <!--点赞img-->
    <img class="like_selection" alt="like_before" src="__IMG__/like_before.png"
         onclick="likeSelection(this, '{$r.id}')"  >

    <br/>
    <!--点踩img-->
    <img class="dislike_selection" alt="dislike_after" src="__IMG__/dislike_after.png"
         onclick="dislikeSelection(this, '{$r.id}')" >

    {/in}


    <text class="like_count" >({$r.like_count})</text>
    <text class="dislike_count" >({$r.dislike_count})</text>
</div>


<!--投票结果色卡part-->
<div id="like_color_{$r.id}" style="position:absolute;top: 0%;right:2%;height:20%;width:30%;background-color: {$r.like_relative_color};"></div>


